\chapter{Proposed Work}
\label{chap:purposed_work}
\section{Software}

The P-land software package has been under development for the last six months but as of September 2012 remains unfinished.
Two main additions to the API's need to be written for intended operation of the package: 
\begin{enumerate}
\item Run-time DAG importing. 
\item Internal data routing.
\end{enumerate}
The First API will allow P-land to be configured at run-time, thereby taking advantage of dynamically loaded plugins.
The output of a scheduling algorithm can be imported by P-land as a set of XML configuration files without a need for recompiling.
The second API will allow our system to exploit task parallelism. The current code-base does not allow for task replication due
to the limitations imposed by the synchronized queue implementation.

An implementation of the MOS scheduling algorithm needs to be written (a pseudo-code version of the algorithm is published in [4]).
This implementation will produce  necessary XML configuration files used in loading processing plugins and in packet routing in the heterogeneous computing
system, and distribute them to the compute nodes selected by MOS.

\section{Experiment and Data Analysis}

Once all of the software has been written, tested and benchmarked, a series of experiment will be performed using the MOS model predictions.
Using the data collected we will attempt to categorize the effects of the k-port model assumptions on the performance metrics of the system.
Several compute nodes will be required to execute these experiment. Three distinct experiments are planed:
\begin{enumerate}
\item k-port throttling implementation.
\item Network jitter injection.
\item Switched Ethernet buffering.
\end{enumerate}
The first experiment will use P-land's implementation of the k-port model in order to examine its effect on system performance. The second experiment
will examine schedule stability under varying communication costs. This will involve injecting third party traffic into P-land's communication channels
and characterizing the result. The final experiment will examine the effects of buffers found in modern routers and switches on the performance of P-land. This
experiment will involve testing P-land's performance with a router which features adjustable hardware buffers. Any router capable of running DD-WRT presents
such functionality.

Data collected in this experiment will be used to make recommendations on communication models that should be used in streaming workflow scheduling algorithms
for generating high-quality schedules. These recommendations will form a basis for a new communication model better suited for this application compared to the
k-port model traditionally in these algorithms.

\section{Interdisciplinary Involvement with mini-Time Cube}
\label{chap:purposed_work:MTC}

Mini-Time Cube(mTC) is a portable neutrino detector being developed in Professor John Learned's research group at the University of Hawaii at Manoa Physics department. This detector can 
produce an aggregate bandwidth of up to $60MB/s$. Due to its portable nature, this data needs to be processed, reduced and analyzed in real time.
This project presents a perfect opportunity to reuse the P-land code base for a real-world app. Furthermore as the research assistant who is developing
the readout and triggering system for this detector, the author's intimate knowledge of the codebase makes him a perfect candidate for developing such software.
